/**
 * Created by 惜帅 on 2018/8/1.
 * 机构认证信息相关api
 */
import * as API from './'

export default {

  //查询获取列表(通过page分页)
  qryByPageExt: params => {
    return API.GET('/enterpriseIdentity/qryByPageExt', params)
  },
  // 添加
  doAddOrUpdate: params => {
    return API.POST('/enterpriseIdentity/doAddOrUpdate', params)
  },
  // 删除
  doDelExt: params => {
    return API.DELETE('/enterpriseIdentity/doDelExt', params)
  },
  //获取
  getById: params => {
    return API.GET('/enterpriseIdentity/getById', params)
  },
  //获取
  getByEnterpriseId: params => {
    return API.GET('/enterpriseIdentity/getByEnterpriseId', params)
  },

  // 添加其他认证材料
  doAddExt: params => {
    return API.DELETE('/enterpriseIdentity/doAddExt', params)
  },
  //获取机构认证信息及所有信息
  getEnterpriseIdentityInfos: params => {
    return API.POST('/enterprise/getEnterpriseIdentityInfos', params)
  }
}
